import styled from 'styled-components';


export const HeaderWrapper = styled.div`
    height:75px;
    background-color: #242424;
    color:#fff;

    .content{
        display: flex;
        justify-content: space-between;
        height: 70px;
    }

    .divider{
        height: 5px;
        background-color: #c20c0c;
    }
`

export const HeaderLeft = styled.div`
    display: flex;
    .logo{
        display: block;
        width: 177px;
        height: 69px;
        text-indent: -9999px;
    }
    .select-list{
        position: relative;
        display: flex;
        justify-content: space-between;
        height: 70px;
        line-height: 70px;

        .select-item{
            a{
                position: relative;
                color: #ccc;;
                display: block;
                padding: 0 20px;
                font-size: 14px;
                text-decoration: none;
            }

            &:hover a{
                color: #fff;
            }
            .active a{
                color: #fff;
            }
           
            :last-of-type a{
                ::after{
                    content: '';
                    position: absolute;
                    display: block;
                    width: 28px;
                    height: 19px;
                    background-image: url(${require("@/assets/img/sprite_01.png").default});
                    background-position:-190px 0;
                    right:-15px;
                    top: 21px;
                }
            }

            .active .icon{
                position: absolute;
                display: inline-block;
                width: 12px;
                height: 7px;
                bottom:-1px;
                left:50%;
                transform: translateX(-50%);
                background-position: -226px 0;
            }
        }

    }

`
export const HeaderRight = styled.div`
    display: flex;
    align-items: center;
    .search{
        width: 158px;
        height: 32px;
        border-radius: 32px;

        input{
            &::placeholder{
               font-size: 12px;
           }
        }
    }
    .create-center{
        width: 90px;
        height: 32px;
        box-sizing: border-box;
        line-height: 33px;
        text-align: center;
        color:#cccccc;
        background-color: #242424;
        border:1px solid #4F4F4F;
        border-radius: 20px;
        margin-left: 19px;
        margin-right: 12px;
    }
    .create-center:hover{
        border:1px solid #fff;
        color: #fff;
    }
    .sign-in{
        margin-top: 5px;
    }
`
